
using Nop.Core.Domain.WindAlert;

namespace Nop.Data.Mapping.Windalert
{
    public partial class MobileDeviceMap : NopEntityTypeConfiguration<MobileDevice>
    {
        public MobileDeviceMap()
        {
            this.ToTable("WMobileDevice");
            this.HasKey(md => md.Id);
            
            this.HasRequired(md => md.Customer)
                .WithMany()
                .HasForeignKey(md => md.CustomerId);

        }
    }
}